package com.yyr.spring_boot.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class ResourceConfigBean {

    @Value("${spring.resource.path}")
    private String resourcePath;
    @Value("${spring.resource.pathPattern}")
    private String resourcePathPattern;
    @Value("${spring.resource.window.path}")
    private String localPathForWindows;
    @Value("${spring.resource.linux.path}")
    private String localPathForLinux;

    public String getResourcePath() {
        return resourcePath;
    }

    public void setResourcePath(String resourcePath) {
        this.resourcePath = resourcePath;
    }

    public String getResourcePathPattern() {
        return resourcePathPattern;
    }

    public void setResourcePathPattern(String resourcePathPattern) {
        this.resourcePathPattern = resourcePathPattern;
    }

    public String getLocalPathForWindows() {
        return localPathForWindows;
    }

    public void setLocalPathForWindows(String localPathForWindows) {
        this.localPathForWindows = localPathForWindows;
    }

    public String getLocalPathForLinux() {
        return localPathForLinux;
    }

    public void setLocalPathForLinux(String localPathForLinux) {
        this.localPathForLinux = localPathForLinux;
    }
}
